package de.gwtprime.shared.requestFactory;

import java.util.Set;

import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.ProxyFor;

import de.gwtprime.server.model.EntityLocator;
import de.gwtprime.server.model.Question;

@ProxyFor(value = Question.class, locator = EntityLocator.class)
public interface QuestionProxy extends EntityProxy{

	Long getId();
	String getTitle();
	String getText();
	void setTitle(String text);
	void setText(String text);
	int getAnswerCount();
	void setUser(User2Proxy user4);
	
	User2Proxy getUser();
	Set<AnswerProxy> getAnswers();
	
	public int getVoteValue();
	
	public String getImages();
	public void setImages(String images);
}
